package com.example.demo.strategy;

import com.example.demo.strategy.ConcreteStrategyA;
import com.example.demo.strategy.ConcreteStrategyB;
import com.example.demo.strategy.ConcreteStrategyC;
import com.example.demo.strategy.Context;

public class Client {
    public static void main(String[] args) {
        Context context;
        context = new Context(new ConcreteStrategyA());
        context.contextInterface();
        context = new Context(new ConcreteStrategyB());
        context.contextInterface();
        context = new Context(new ConcreteStrategyC());
        context.contextInterface();
    }
}
